package com.curso;

import java.util.*;

public class Ejemplo4 {

	public static void main(String[] args) {
		
		Random rand = new Random();
		
		int i = rand.nextInt() % 100;
		int j = rand.nextInt() % 100;
		
		int x = 1223 % 28;
		
		System.out.println("x:" + x);
		
		prt("i = " + i);
		prt("j = " + j);
		prt("i > j es " + (i > j));
		prt("i < j es " + (i < j));
		prt("i < j es " + (i >= j));
		prt("i >= j es" + (i <= j));
		prt("i <= j es" + (i == j));
		prt("i != j es" + (i != j));
			
		prt(" (i < 10 ) && (j < 10) es"
			+ ((i < 10) && (j < 10)) );
		prt(" (i < 10) || (j < 10)) es"
			+ ((i < 10) || (j < 10)) );
		}
	static void prt(String s) {
		System.out.println(s);
		

	}

}
